package com.ly.springboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;


//@ServletComponentScan
@SpringBootApplication
@MapperScan ("com.ly.springboot.mapper")
public class Application {

    public static void main(String[] args) {

        SpringApplication.run(Application.class);
    }
}
